package com.example.service.impl;

import com.example.mapper.ChatRecordMapper;
import com.example.pojo.ChatRecord;
import com.example.service.ChatRecordService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ChatRecordServiceImpl implements ChatRecordService {

    @Resource
    private ChatRecordMapper chatRecordMapper;

    @Override
    public ChatRecord queryRecordDetail(String id) {
        return chatRecordMapper.getChatRecordById(id);
    }
}
